package com.kmdd.xtds.room

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query

@Dao
interface BloodPressureDao {
    @Insert
    fun insert(vararg bloodPressure: BloodPressure)

    @Query("SELECT * FROM bloodPressures WHERE date = :date")
    fun getBloodByTime(date: String): List<BloodPressure>

    @Query("SELECT * FROM bloodPressures")
    fun getBlood():List<BloodPressure>

}